import request from "@/utils/request";


export function createVisitApi(data) {
  return request({
    url: "/api/customer.visit/create",
    method: "post",
    data
  });
}

export function editVisitApi(data) {
  return request({
    url: "/api/customer.visit/save",
    method: "post",
    data,
  });
}

export function getVisitGroupApi(data) {
  return request({
    url: "/api/customer.visit/group",
    method: "post",
    data,
  });
}


export function getMemberProductsApi(data) {
  return request({
    url: "/api/customer.product/read",
    method: "post",
    data
  });
}
